/**
 * 角色store.
 * @author 马玉德
 * @version 1.0.0, 2015-07-16
 */
Ext.define('MyApp.store.MenuStore',{
    extend: 'Ext.data.Store',
    requires: 'MyApp.model.MenuModel',
 	model: 'MyApp.model.MenuModel',
 	//autoLoad: true,
 	proxy: {
        type: 'ajax',
        actionMethods: 'POST',
        url: '../../../menu/list.action',
        //url: '/MyProject/menu/grid_menu.action',
        reader: {
            type: 'json',
            rootProperty: 'rows',
            successProperty: 'success'
        }
    }
    //constructor: function (config) {
    //	if(undefined != config && null != config) {
	 //		//将配置中的参数传递给proxy
	 //       this.proxy.url = config.url;
	 //       this.proxy.extraParams = config.params;
    //	}
    //    this.callParent();
    //}
});
